
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Abp.Domain.Entities.Auditing;
using Ixyu.Dtos;
using Ixyu.Health;

namespace  Ixyu.Health.Dtos
{
    public class DailyLifeEditDto
    {

        /// <summary>
        /// Id
        /// </summary>
        public int? Id { get; set; }         


        
		/// <summary>
		/// Title
		/// </summary>
		[Required(ErrorMessage="Title不能为空")]
		public string Title { get; set; }



		/// <summary>
		/// Note
		/// </summary>
		public string Note { get; set; }



		/// <summary>
		/// Weight
		/// </summary>
		public double Weight { get; set; }



		/// <summary>
		/// BloodPressureHeight
		/// </summary>
		public int BloodPressureHeight { get; set; }



		/// <summary>
		/// BloodPressureLow
		/// </summary>
		public int BloodPressureLow { get; set; }

        public int[] BloodPressure => new[] {BloodPressureLow, BloodPressureHeight};

        /// <summary>
        /// Items
        /// </summary>
        public List<DailyItemEditDto> Items { get; set; }
        public string Photos { get; set; }
        public List<FileDto> Pics
        {
            get; set;
        }


    }
}